package com.ztf.stream;

import com.ztf.stream.model.Person;

import java.util.ArrayList;
import java.util.List;

public class TestClass {
    public static void main(String[] args) {
        List<Person> personList = new ArrayList<Person>();
        personList.add(new Person("Tom", 8900,1, "male", "New York"));
        personList.add(new Person("Jack", 7000,1, "male", "Washington"));
        personList.add(new Person("Lily", 7800,1, "female", "Washington"));
        personList.add(new Person("Anni", 8200,1, "female", "New York"));
        personList.add(new Person("Owen", 9500,1, "male", "New York"));
        personList.add(new Person("Alisa", 7900,1, "female", "New York"));

    }
}
